package Com.amit.corejava;

public class Lab90 {

	static void min(int b[])
	{
	int min=b[0];
	for(int i=0;i<=b.length-1;i++)
	{
		if(min>b[i])
		{
			min=b[i];
		}
	}
		System.out.println(min);
	}
	public static void main(String[] args) {
		
		int a[]={23,89,2,34,90,-1,0,2345};
		
		min(a);
		
		
	}

}
